package com.fqh.service;

import com.fqh.entity.Foodclass;
import com.fqh.entity.Fooddetail;

import java.util.List;

public interface FoodClassService {


    List<Foodclass> findByPage(int page, int limit);

    Integer findCount();

    List<Foodclass> findFoodClass();

    Integer findFoodInfo(Integer classId);

    Foodclass findFoodClassById(Integer classId);

    Integer updateById(Foodclass foodclass) throws Exception;

    Integer insert(String className) throws Exception;

    Integer deleteById(int parseInt) throws Exception;

    Integer findFoodIdByClassName(String className);
}
